﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StorategyApp
{
    public class Multi : Colulator
    {
        /// <summary>
        /// 实现父类构造函数
        /// </summary>
        /// <param name="num1"></param>
        /// <param name="num2"></param>
        public Multi(int num1, int num2) : base(num1, num2)
        {
            
        }


        /// <summary>
        /// 实现父类抽象方法
        /// </summary>
        /// <returns></returns>
        public override int Excute()
        {
            return Num1 * Num2;
        }
    }
}
